package com.abc.invoke.server.db.session;

import com.abc.invoke.bean.User;
import com.abc.invoke.server.service.UserSession;

public class SpringInvokerBackendSessionFactory {

	public SpringInvokerBackendSessionFactory() {

	}

	/*
	 * public SpringInvokerBackendSessionFactory(DataBaseContext db){
	 * 
	 * }
	 */
	
	public SpringInvokerBackendSession create(User user){
		UserSession userSession=new UserSession(user);
		return new SpringInvokerDBSession(userSession);
	}
}
